package com.hluck.goodweatherapp.data.bean;

import androidx.annotation.NonNull;
import androidx.room.Entity;
import androidx.room.Ignore;
import androidx.room.PrimaryKey;

/**
 * @Author： LJH
 * @Time： 2024/1/8
 * @description：
 */
@Entity
public class MyCity {

    @NonNull
    @PrimaryKey
    private String cityName;

    @NonNull
    public String getCityName() {
        return cityName;
    }

    public void setCityName(@NonNull String cityName) {
        this.cityName = cityName;
    }

    @Ignore
    public MyCity(@NonNull String cityName) {
        this.cityName = cityName;
    }

    public MyCity() {
    }
}
